<?php
/**
 * Core_Data_Dataoperation
 *
 * @author adrian
 */
class Core_Data_Dataoperation implements Core_Data_Ormable{
    
    public $database;
    
    public function __construct() {
        $this->database = new Core_Driver_MysqlImproved;
    }

    public function action($query = null) {
        $this->database->connect();
        $this->database->prepare($query);
        $this->database->query();
        $this->database->dataOperations();
    }

}
